package com.hns.tool.export.excel.excelNoTemplate;

import java.util.List;

import com.hns.can.common.entity.BaseEntity;

/**
 * 无模版导出实体
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
public class ExportExcelNoTempEntity {

	/** 要导出的数据源 */
	private List dataSource;

	/** 标题对象 */
	private Object title;

	/** 显示给用户文件名 */
	private String showName;
	
	/** 显示表头的集合 */
	private List<String> headList;
	
	/** 显示表头对应字段的集合 */
	private List<String> fieldList;

	public ExportExcelNoTempEntity() {
	}
	
	public ExportExcelNoTempEntity(List<String> headList, List<String> fieldList, List dataSource, String showName) {
        this.headList = headList;
        this.fieldList = fieldList;
        this.dataSource = dataSource;
        this.showName = showName;
    }
	
	public ExportExcelNoTempEntity(List<String> headList, List<String> fieldList, List dataSource, String showName,String title) {
        this.headList = headList;
        this.fieldList = fieldList;
        this.dataSource = dataSource;
        this.showName = showName;
        this.title = title;
    }
	
	public ExportExcelNoTempEntity(List<String> headList, List<String> fieldList, List dataSource) {
	    this.headList = headList;
	    this.fieldList = fieldList;
	    this.dataSource = dataSource;
    }

    public List<BaseEntity> getDataSource() {
        return dataSource;
    }

    public void setDataSource(List<BaseEntity> dataSource) {
        this.dataSource = dataSource;
    }

    public Object getTitle() {
        return title;
    }

    public void setTitle(Object title) {
        this.title = title;
    }

    public String getShowName() {
        return showName;
    }

    public void setShowName(String showName) {
        this.showName = showName;
    }

    public List<String> getHeadList() {
        return headList;
    }

    public void setHeadList(List<String> headList) {
        this.headList = headList;
    }

    public List<String> getFieldList() {
        return fieldList;
    }

    public void setFieldList(List<String> fieldList) {
        this.fieldList = fieldList;
    }

}
